from pgmagick.api import Image 
  
img = Image('image.png') 
  
img.scale((150, 100), 'fox_scaled')
